var mongoose = require('mongoose');
var Schema = mongoose.Schema;

var ArticleSchema = new Schema({
    title: {
        type: String,
    },
    cid: { // 分类id
        type: Schema.Types.ObjectId
    },
});


module.exports = mongoose.model('Article',ArticleSchema,'article');
